<template>
  <div class="not-found">
    <h1 class="title">404</h1>
    <p class="description">Oops! The page you are looking for does not exist.</p>
    <router-link to="/" class="back-link">Go Back Home</router-link>
  </div>
</template>

<script setup lang="ts">
import { defineProps } from 'vue';
import { RouterLink } from 'vue-router';

const props = defineProps({
  // 可以定义接收的 props
});

</script>

<style scoped>
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.title {
  font-size: 6rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.description {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.back-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #0056b3;
}
</style>
